lcBlockAddDimDia LiteCAD API

Adds a new diametric dimension object into a block.

 HANDLE lcBlockAddDimDia (
   HANDLE hBlock,
   double Xc,
   double Yc,
   double Xr,
   double Yr,
   double Xt,
   double Yt,
   LPCWSTR szText
 );

Parameters
hBlock
  Handle to a block.
Xc Yc
  Center point of circle or arc.
Xr Yr
  Radial point of circle or arc.
Xt Yt
  Text and dimension line position.
szText
  User-supplied dimension text.
If no text is to appear, supply "." .
If only the default text is to appear, supply an empty string "".
The default text is represented as "<>" within the supplied text.

Return Value

  Handle to created diametric dimension object or NULL if the function fails.

See Also

  Dimension style,   Code sample